package com.lc.cehui.http.request;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.BodyType;
import com.lc.cehui.http.response.AddClassBean;
import com.lc.cehui.http.response.AddTeacherBean;

import java.util.List;

public class SendCompanyTechnologyApi implements IRequestApi , IRequestType {
  private  int  userid;		
    private String	id	;
    private String	type_id;
    private String	title;
    private String	description;
    private String	tel1;
    private String	tel2	;
    private String	start_time	;
    private String	end_time;
    private String	per	;
    private String	province;
    private String	city	;
    private String	district;
    private String	address	;
    private String	content	;
    private List<AddClassBean> class_hour	;
    private List<AddTeacherBean> teacher	;
    public SendCompanyTechnologyApi setUserid(int userid) {
        this.userid = userid;
        return  this;
    }

    public SendCompanyTechnologyApi setId(String id) {
        this.id = id;
        return  this;
    }

    public SendCompanyTechnologyApi setType_id(String type_id) {
        this.type_id = type_id; return  this;
    }

    public SendCompanyTechnologyApi setTitle(String title) {
        this.title = title; return  this;
    }

    public SendCompanyTechnologyApi setDescription(String description) {
        this.description = description; return  this;
    }

    public SendCompanyTechnologyApi setTel1(String tel1) {
        this.tel1 = tel1; return  this;
    }

    public SendCompanyTechnologyApi setTel2(String tel2) {
        this.tel2 = tel2; return  this;
    }

    public SendCompanyTechnologyApi setStart_time(String start_time) {
        this.start_time = start_time; return  this;
    }

    public SendCompanyTechnologyApi setEnd_time(String end_time) {
        this.end_time = end_time; return  this;
    }

    public SendCompanyTechnologyApi setPer(String per) {
        this.per = per; return  this;
    }

    public SendCompanyTechnologyApi setProvince(String province) {
        this.province = province; return  this;
    }

    public SendCompanyTechnologyApi setCity(String city) {
        this.city = city; return  this;
    }

    public SendCompanyTechnologyApi setDistrict(String district) {
        this.district = district; return  this;
    }

    public SendCompanyTechnologyApi setAddress(String address) {
        this.address = address; return  this;
    }

    public SendCompanyTechnologyApi setContent(String content) {
        this.content = content; return  this;
    }

    public SendCompanyTechnologyApi setClass_hour(List<AddClassBean> class_hour) {
        this.class_hour = class_hour; return  this;
    }

    public SendCompanyTechnologyApi setTeacher(List<AddTeacherBean> teacher) {
        this.teacher = teacher;
        return  this;
    }

    @Override
    public String getApi() {
        return "api/send_company_technology";
    }
    @Override
    public BodyType getType() {
        return BodyType.JSON;
    }
}
